<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>xinghuiMS</title>
	<style type="text/css">
	<!--
	.fontStyle { color:#ffffff; font-size:12px; }
	.textStyle { width:100px; height:16px; border:solid 1px #000000; font-size:12px;}
	-->
	</style>
</head>

<script type="text/JavaScript">
<!--

function doCheck()
{
    var username=document.getElementById("username").value;
    if(username.length==0)
    {
        alert('请输入您的姓名！');
        document.getElementById("username").focus();
        return false;
    }
   
    var password=document.getElementById("password").value;
    if(password.length==0)
    {
        alert('请输入您的密码！');
        document.getElementById("password").focus();
        return false;
    }
    
    return true;
}

function doReset()
{
    document.getElementById("username").value = "";
    document.getElementById("password").value = "";
    document.getElementById("valicode").value = "";
    return false;
}

//-->
</script>

<body style="margin:0;overflow:hidden;">

<form name="myform" action="<%= request.getContextPath() %>/login" method="post">
	
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr><td height="50" bgcolor="013E67">&nbsp;</td></tr>
  <tr><td bgcolor="013E67">&nbsp;</td></tr>
  
  <tr>
    <td height="420" background="imageslogin/okloginBg.gif">
    	<table width="758" border="0" align="center" cellpadding="0" cellspacing="0">
	      <tr>
	        <td height="210" background="imageslogin/oktimeTitle.gif">&nbsp;</td>
	      </tr>
	      
	      <tr>
	        <td height="210" valign=top bgcolor="11668D">
	        	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		          <tr>
		            <td width="446" height="101" style='background:url("imageslogin/okloginShadow.gif") top no-repeat'>&nbsp;</td>
		            
		            <td width="156">
		            	<table width="100%" border="0" cellspacing="0" cellpadding="0">
			            	<tr><td colspan="2">&nbsp;</td></tr>
			              <tr>
			                <td width="29%" height="22"><span class="fontStyle">用户名</span></td>
			                <td width="71" height="22"><input type="text" name="username" value="linxinghui" class="textStyle"></td>
			              </tr>
			              <tr>
			                <td height="22"><span class="fontStyle">密&nbsp;&nbsp;码</span></td>
			                <td height="22"><input type="password" name="password" value="111111" class="textStyle"></td>
			              </tr>
			              <tr>
			                <td height="22"><span class="fontStyle">验证码</span></td>
			                <td height="22"><input type="text" name="valicode" class="textStyle" style="width:60px;"></td>
			              </tr>
			              <tr>
			                <td height="22">&nbsp;</td>
			                <td height="22"><input type="text" name="valicode" class="textStyle" style="width:60px;"></td>
			              </tr>
			              <tr>
			                <td height="25">&nbsp;</td>
			                <td height="25">
			                	<input type="image" src="imageslogin/oklogin.gif" width="37" height="19" border="0" onclick="">
			                	<input type="image" src="imageslogin/okcancel.gif" width="37" height="19" onclick="return doReset()">
			                </td>
			              </tr>
		              </table>
		            </td>
		            
		            <td width="156">&nbsp;</td>
		          </tr>
	          </table>
	        </td>
	      </tr>
	      
      </table>
    </td>
  </tr>
  
  <tr><td bgcolor="11668D">&nbsp;</td></tr>
  
  <tr>
    <td height="50" align="center" valign="top" bgcolor="11668D">
    	<img src="imageslogin/okpower.gif">
    </td>
  </tr>
</table>

</form>

<script>
if('${params.flag}' == 'error')
	alert('用户信息不对,请重新登陆!')
</script>

</body>
</html>
